﻿using System;
using System.Reflection;
using Microsoft.Practices.Unity;

namespace TestByWire.Factories.StubbingStrategies
{
    internal class StringStubbingStrategy : StubStrategyBase
    {
        public override bool RegisterOnContainer
        {
            get { return false; }
        }

		public override bool CanHandleType(Type type, string instanceName)
        {
            return type == typeof(string);
        }

        protected override object TryCreateInstance(Type type)
        {
            return string.Empty;
        }
    }
}
